package com.example.sysao.service;

import com.example.sysao.pejo.Urgent;

import java.util.List;

public interface UrgentService {
    boolean addUrgent(Urgent urgent);

    List<Urgent> findAll();

    boolean removeUrgent(int id);

    boolean saveUrgent(Urgent urgent);

    boolean removeUrgentr(int repairId);

    Urgent findById(int id);

    int findByRapirId(int id);

    Urgent findByRapirid(int id);
}
